package com.junxonline.plat.dao.repository;

import com.junxonline.plat.dao.model.Attence;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AttenceRepository extends JpaRepository<Attence, Long>, JpaSpecificationExecutor<Attence> {

    Attence findByAttenceId(Long attenceId);

    List<Attence> findByAttenceIdIn(Long[] attenceIds);

}
